home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 1
/
Amiga Tools.iso
/
egs-tools
/
egs_demo-version
/
egs_devels
/
doc
/
gbradio.doc
< prev
next >
Wrap
Text File
|
1994-06-06
|
2KB
|
128 lines
/*
* $
* $ FILE : gbradio.doc
* $ VERSION : 1
* $ REVISION : 1
* $ DATE : 08-Feb-93 10:07
* $
* $ Author : mvk
* $
*
*
* (c) Copyright 1990/93 VIONA Development
* All Rights Reserved
*
*/
gbradio.library/EGB_CreateRadioGadget
gbradio.library/EGB_ModifyRadioGadget
gbradio.library/EGB_OffRadioElems
gbradio.library/EGB_OnRadioElems
gbradio.library/EGB_CreateRadioGadget
NAME
EGB_CreateRadioGadget
SYNOPSIS
box = EGB_CreateRadioGadget(con, names, height, id);
D0 A0 A1 D0 D1
EB_GadBoxPtr box;
EB_StrArrayPtr names;
WORD height;
LONG id;
FUNCTION
Creates a gadbox radio button gadget. These gadgets offer several buttons, but
only one can be activated at any time.
INPUTS
con : associated gadget context
names : array of names for buttons
height : number of names to be ordered vertical
id : gadgets id
RETURNS
gbradio.library/EGB_ModifyRadioGadget
NAME
EGB_ModifyRadioGadget
SYNOPSIS
EGB_ModifyRadioGadget(win, gad, data);
A0 A1 D0
EI_WindowPtr win;
EI_Gadgetptr gad;
WORD data;
FUNCTION
Activates a different button of a radio gadget.
INPUTS
win : Window, that contains the gadget; if NULL, no refresh is done
gad : The radio gadget
data : The number of the button to be activated
RETURNS
gbradio.library/EGB_OffRadioElems
NAME
EGB_OffRadioElems
SYNOPSIS
EGB_OffRadioElems(win, gad, elems)
A0 A1 D0
EI_WindowPtr win;
EI_GadgetPtr gad;
ULONG elems;
FUNCTION
Makes several buttons of a radio gadget unselectable.
INPUTS
win : Window that contains the gadget; if NULL, no refresh is done
gad : the radio gadget
elems : Each bit in the 32 bit number represents one button. If the bit
is set, the associated gadget becomes unselectable.
RETURNS
gbradio.library/EGB_OnRadioElems
NAME
EGB_OnRadioElems
SYNOPSIS
EGB_OnRadioElems(win, gad, elems);
A0 A1 D0
EI_WindowPtr win;
EI_GadgetPtr gad;
ULONG elems;
FUNCTION
Makes several buttons of a radio gadget selectable.
INPUTS
win : The window that contains the gadget; if NULL no refresh is done.
gad : The radio gadget
elems : Each bit in this 32 bit number represents one button. If a bit is
set, the associated gadget becomes selectable.
RETURNS